package pe.gob.sunarp.entidad;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;


/**
 * The persistent class for the PRUEBA database table.
 * 
 */
//@Entity
//@Table(name="PRUEBA")
public class Prueba implements Serializable {
	private static final long serialVersionUID = 1L;
	private String agntSync;
	private String curPrtc;
	private String flagTipo;
	private String nuDoc;
	private String oficRegId;
	private String razonSocial;
	private String regPubId;
	private String siglas;
	private String tiDoc;
	private String tipoInst;
	private String tipoPerJur;
	private Date tsUltSync;

    public Prueba() {
    }


	@Column(name="AGNT_SYNC", length=4)
	public String getAgntSync() {
		return this.agntSync;
	}

	public void setAgntSync(String agntSync) {
		this.agntSync = agntSync;
	}


	@Column(name="CUR_PRTC", nullable=false, length=14)
	public String getCurPrtc() {
		return this.curPrtc;
	}

	public void setCurPrtc(String curPrtc) {
		this.curPrtc = curPrtc;
	}


	@Column(name="FLAG_TIPO", length=1)
	public String getFlagTipo() {
		return this.flagTipo;
	}

	public void setFlagTipo(String flagTipo) {
		this.flagTipo = flagTipo;
	}


	@Column(name="NU_DOC", length=12)
	public String getNuDoc() {
		return this.nuDoc;
	}

	public void setNuDoc(String nuDoc) {
		this.nuDoc = nuDoc;
	}


	@Column(name="OFIC_REG_ID", nullable=false, length=2)
	public String getOficRegId() {
		return this.oficRegId;
	}

	public void setOficRegId(String oficRegId) {
		this.oficRegId = oficRegId;
	}


	@Column(name="RAZON_SOCIAL", nullable=false, length=250)
	public String getRazonSocial() {
		return this.razonSocial;
	}

	public void setRazonSocial(String razonSocial) {
		this.razonSocial = razonSocial;
	}


	@Column(name="REG_PUB_ID", nullable=false, length=2)
	public String getRegPubId() {
		return this.regPubId;
	}

	public void setRegPubId(String regPubId) {
		this.regPubId = regPubId;
	}


	@Column(length=50)
	public String getSiglas() {
		return this.siglas;
	}

	public void setSiglas(String siglas) {
		this.siglas = siglas;
	}


	@Column(name="TI_DOC", length=2)
	public String getTiDoc() {
		return this.tiDoc;
	}

	public void setTiDoc(String tiDoc) {
		this.tiDoc = tiDoc;
	}


	@Column(name="TIPO_INST", length=2)
	public String getTipoInst() {
		return this.tipoInst;
	}

	public void setTipoInst(String tipoInst) {
		this.tipoInst = tipoInst;
	}


	@Column(name="TIPO_PER_JUR", length=2)
	public String getTipoPerJur() {
		return this.tipoPerJur;
	}

	public void setTipoPerJur(String tipoPerJur) {
		this.tipoPerJur = tipoPerJur;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="TS_ULT_SYNC")
	public Date getTsUltSync() {
		return this.tsUltSync;
	}

	public void setTsUltSync(Date tsUltSync) {
		this.tsUltSync = tsUltSync;
	}

}